Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the explicit task key. #174

Merged
merged 2 commits into from
Nov 29, 2023
Merged

Remove the explicit task key. #174

merged 2 commits into from
Nov 29, 2023

Conversation

delucchi-cmu
Copy link
Contributor

@delucchi-cmu delucchi-cmu commented Nov 29, 2023

Change Description

Fixes #172 .

Solution Description

My theory on what's going on here is that dask sees that it already has some completed tasks with the name split_<k>, and so doesn't even try to run them when they're encountered in the second pipeline execution. PR #173 tried to work around this issue by re-initializing the client to clear out the tasks, but that doesn't feel good/sustainable.

We were using the future's key to log completed stages after task success, but PR #143 took that out, so we can just let dask assign its own task keys.

delucchi-cmu and others added 2 commits November 29, 2023 07:55
* Give more failure info.

* Maybe the done files aren't written?

* Use same pip as local?

* Maybe tasks aren't scheduled because they're done.

* Undo red herring

* Restructure exception handling
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link

codecov bot commented Nov 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9f44b40) 100.00% compared to head (ec55c60) 100.00%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #174   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           27        27           
  Lines         1158      1160    +2     
=========================================
+ Hits          1158      1160    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

@dougbrn dougbrn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@delucchi-cmu delucchi-cmu merged commit 7aea21f into main Nov 29, 2023
13 checks passed
@delucchi-cmu delucchi-cmu deleted the issue/172/rmkey branch November 29, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doc build failing
2 participants